package com.springboot.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@ConfigurationProperties(prefix = "login.user")
public class User1 {

    private String name;

    private String age;

    private List<String> hobbies;


}
